﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AutoPostBackDropDownListPage.aspx.cs" Inherits="Pyxis.FluentSelenium.SimpleWebApp.SimpleExamples.AutoPostBackDropDownListPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        Color : 
        <asp:DropDownList ID="ddlColor" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlColor_SelectedIndexChanged">
            <asp:ListItem Text="White" Value="White" />
            <asp:ListItem Text="Blue" Value="Blue" />
            <asp:ListItem Text="Red" Value="Red" />
            <asp:ListItem Text="Yellow" Value="Yellow" />
        </asp:DropDownList>
        
        <br /><br />
        Selected color : <asp:Label ID="lblSelectedColor" runat="server" />
    </form>
</body>
</html>
